<?php

Route::group([
    'prefix' => 'shop'
], function () {
    Route::post('put_scrip', 'ShopController@put_scrip');
    Route::post('take_scrip', 'ShopController@take_scrip');
    Route::post('getArticle', 'ShopController@getArticle');
});

Route::group([
    'prefix' => 'upload'
], function () {
    Route::post('', 'UploadController@index');
});

Route::group([
    'prefix' => 'payment'
], function () {
    Route::post('goldPay', 'PaymentController@goldPay');
    Route::match(['get', 'post'], 'weixinpay_notify', 'PaymentController@weixinpay_notify');
});
